package com.luyue.zagj.activity.myAccount;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RelativeLayout;

import com.luyue.zagj.R;
import com.luyue.zagj.utils.SPutils;
import com.luyue.zagj.utils.ToastUtil;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class FeedBackActivity extends AppCompatActivity {

    @Bind(R.id.set_cancel_btn)
    Button setCancelBtn;
    @Bind(R.id.feedback_top_rl)
    RelativeLayout feedbackTopRl;
    @Bind(R.id.add_lost_re_et)
    EditText addLostReEt;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_feed_back);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.set_cancel_btn)
    public void onClick() {
        String trim = addLostReEt.getText().toString().trim();
        SPutils.put(this,"feedback",trim);
        ToastUtil.getToast("感谢您的反馈",this);
        finish();
    }
}
